package org.cerberus.platform.component;


public class ComponentUtilities {

	private static long currentRandomID = 0;
	
	public static String createDefaultID(Object component) {
		currentRandomID = currentRandomID+1;
		return String.valueOf(currentRandomID);
	}
	
	public static String globalID(Object component) {
		return "globalID";
	}
	
	public static void setVisible(Object component, boolean visible) {
	}
	
	public static boolean isVisible(Object component) {
		return false;
	}
	
	public static void init(Object component) {
	}
	
	
	public static void init(Object component, String customID) {
	}
	
	
	public static void attributeChanged(Object component, String attribute) {
	}
	public static void addAttributeListener(Object component, String attributeName,  IAttributeListener listener) {
	}
	public static void removeAttributeListener(Object component, IAttributeListener listener) {
	}
	
}
